package com.fy.restfulapi.annotation;

import com.fy.restfulapi.config.RestApiAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author sunlei
 */
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
// @Import用来导入@Configuration注解的配置类、声明@Bean注解的bean方法、导入ImportSelector的实现类或导入ImportBeanDefinitionRegistrar的实现类。
@Import(RestApiAutoConfiguration.class)
public @interface EnableUnifiedRESTful {
}
